package calculatePlus;

public class NumSign {
    private String strNum;
    private String sign;

    public NumSign() {
    }

    public NumSign(String strNum, String sign) {
        this.strNum = strNum;
        this.sign = sign;
    }

    public String getStrNum() {
        return strNum;
    }

    public void setStrNum(String strNum) {
        this.strNum = strNum;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public double getNum() {
        return Double.parseDouble(this.strNum);
    }

    public void setNum(double num) {
        this.strNum = String.valueOf(num);
    }


}
